package com.sailfish.springbootdemo.pojo.db2;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (SfsFile)实体类
 *
 * @author makejava
 * @since 2023-11-23 10:30:57
 */
public class SfsFile implements Serializable {
    private static final long serialVersionUID = 715547222342265299L;

    private Integer id;
    /**
     * 大类  1: PCBA   2:PCB   3:数字化平台
     */
    private Integer bigType;

    private String fileTableName;

    private Integer fileId;
    /**
     * 华三上传文件接口返回的id
     */
    private String fileSid;
    /**
     * 华三上传文件接口返回的name
     */
    private String name;
    /**
     * 华三上传文件接口返回的
     */
    private String state;
    /**
     * 华三上传文件接口返回的
     */
    private String previewUrl;
    /**
     * 秘钥，用来上传和下载文件
     */
    private String secretKey;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private String createUser;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBigType() {
        return bigType;
    }

    public void setBigType(Integer bigType) {
        this.bigType = bigType;
    }

    public String getFileTableName() {
        return fileTableName;
    }

    public void setFileTableName(String fileTableName) {
        this.fileTableName = fileTableName;
    }

    public Integer getFileId() {
        return fileId;
    }

    public void setFileId(Integer fileId) {
        this.fileId = fileId;
    }

    public String getFileSid() {
        return fileSid;
    }

    public void setFileSid(String fileSid) {
        this.fileSid = fileSid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getPreviewUrl() {
        return previewUrl;
    }

    public void setPreviewUrl(String previewUrl) {
        this.previewUrl = previewUrl;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

}

